package cn.microservices.cloud.common.core.entity;

/**
 * @Description TODO
 * @ClassName TIMMsgElement
 * @Auhor huangyangfeng
 * @Date 2019-07-24 19:39
 * @Version 1.0
 */
public class TIMMsgElement {

    private String MsgType;
    private String fromAccount;
    private String groupId;
    private Long time;

    private IMMsgContent msgContent;

    public TIMMsgElement() {
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public TIMMsgElement(String msgType, IMMsgContent msgContent) {
        MsgType = msgType;
        this.msgContent = msgContent;
    }


    public String getFromAccount() {
        return fromAccount;
    }

    public void setFromAccount(String fromAccount) {
        this.fromAccount = fromAccount;
    }

    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

    public IMMsgContent getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(IMMsgContent msgContent) {
        this.msgContent = msgContent;
    }
}
